package action.point;

import java.util.List;

import service.PointService;

public class PointMemberSelectAction {
	private PointService service;
	private List list;
	private String memberId;
	
	public void setPointService(PointService service) {
		this.service = service;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	
	public String execute() {
		try {
			System.out.println("memberid: "+ memberId);
			list = service.selectMemberPointList(memberId);
			
		} catch(Exception e) {
			e.printStackTrace();
		}
				
		return "success";
	}
}
